projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30eca5a
)
wayland: Respect GDK_DEBUG=default-settings
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 28 Jun 2020 15:13:07 +0000
(11:13 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 28 Jun 2020 17:42:02 +0000
(13:42 -0400)
You can get this in other ways for Wayland (by
setting GSETTINGS_BACKEND=memory), but it is better
to be consistent across backends.
gdk/wayland/gdkdisplay-wayland.c
patch
|
blob
|
history
diff --git
a/gdk/wayland/gdkdisplay-wayland.c
b/gdk/wayland/gdkdisplay-wayland.c
index cd8fe1e3cc56ac9088cf55a03d10972a0326d877..af30f9cfc2770feaa3cabf240db799148d950c2a 100644
(file)
--- a/
gdk/wayland/gdkdisplay-wayland.c
+++ b/
gdk/wayland/gdkdisplay-wayland.c
@@
-2079,6
+2079,9
@@
gdk_wayland_display_get_setting (GdkDisplay *display,
{
TranslationEntry *entry;
+ if (GDK_DISPLAY_DEBUG_CHECK (display, DEFAULT_SETTINGS))
+ return FALSE;
+
if (GDK_WAYLAND_DISPLAY (display)->settings != NULL &&
g_hash_table_size (GDK_WAYLAND_DISPLAY (display)->settings) == 0)
return FALSE;